package com.ss.android.article.browser.view;

import android.content.Context;
import android.graphics.Bitmap;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.widget.TextView;

import inline.BitmapDemo;

public final class r {
    @NonNull public String title;
    TextView tv;

    public r(@NonNull Context context) {
        this.title = context.getString(com.ss.android.article.browser.R.string.c7);
    }

    public static void a(@Nullable Bitmap bitmap) {
        if(bitmap != null) {
            BitmapDemo.a(bitmap);
        }
    }

    public final void setTitle(@Nullable String title) {
        this.title = title == null ? "" : title;
        if(this.tv != null) {
            this.tv.setText(this.title);
        }
    }
}

